//按要求打印即可

#include <stdio.h>
#include <float.h>

int main(void)
{
    double dl = 1.0 / 3.0;
    float fl = 1.0 / 3.0;

    printf("%.6f %.12f %.16f\n", dl, dl, dl);
    printf("%.6f %.12f %.16f\n", fl, fl, fl);
    printf("Smallest float significant digit: %d\n", FLT_DIG);
    printf("Smallest double significant digit: %d\n", DBL_DIG);

    return 0;
}